home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 November / MACPOWER-1997-11.ISO.7z / MACPOWER-1997-11.ISO / AMUG / MUSIC / bol-processor-271-data.sit / bol-processor-271-data / BP2 examples / BP2 data / -gr.tryLIN < prev    next >
Text File  |  1995-06-04  |  454b  |  19 lines

  1. V.2.5
  2. Date: Sun, Jun 4, 1995 -- 20:54
  3. -se.tryLIN 
  4. -ho.abc
  5.  
  6. // This is a demonstration of a LIN subgrammar:
  7. // Produce strings of a,b,c, with length 18, in which you don't find two consecutive occurrences of メbモ, while メcモs always come in pairs
  8.  
  9. ORD
  10. S --> X X X X X X X X X X X X X X X X X X
  11. ------------
  12. LIN
  13. X --> a
  14. #b X --> #b b    [Negative context.  Never two consecutive メbモs]
  15. X ? --> c Y ?    [Can't be applied if メXモ is the rightmost symbol]
  16. Y X --> c
  17.  
  18.  
  19.